package com.aididi.entity;

import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: zx.xu
 * @Description:
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User implements Serializable{

    private Integer id;

    private String name;

    private List<Order> order;

    public User(Integer id,String name){
        this.id=id;
        this.name=name;
    }


}
